#pragma once

#include "../OpenGL.h"

class Img
{
private:
    GLuint texture;
    int width,height;
    void release();
public:
	Img();
	~Img();
	bool load(const char *filename);
	/*bool loadBmp(const char *filename);
	bool loadJpg(const char *filename);
	bool loadPng(const char *filename);
    bool loadTiff(const char *filename);
    bool loadTGA(const char *filename);
    bool loadUncompressedTGA(const char * filename);
    bool loadCompressedTGA(const char * filename);*/
	int getWidth();
	int getHeight();
	void use();
};